package com.gzck.gzck_verson2.mapper;

import com.gzck.gzck_verson2.pojo.GFwdUserprivilege;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 用户权限表 Mapper 接口
 * </p>
 *
 * @author 任永辉
 * @since 2024-01-05
 */
@Mapper
public interface GFwdUserprivilegeMapper extends BaseMapper<GFwdUserprivilege> {
    @Select("select * from g_fwd_userprivilege where userid=#{userId}")
    GFwdUserprivilege getByUserId(String userId);
}
